package edu.wpi.first.wpilibj.templates.subsystems;

//import edu.wpi.first.team1662.RobotMap;
import edu.wpi.first.wpilibj.command.Subsystem;
import edu.wpi.first.wpilibj.Compressor;
import edu.wpi.first.wpilibj.templates.RobotMap;
import edu.wpi.first.wpilibj.templates.commands.StartCompressor;

/**
 *
 * @author Team 1662
 */
public class CompressorSubsystem extends Subsystem {
    private final Compressor compressor;

    public CompressorSubsystem() {
        compressor = new Compressor(RobotMap.compressorReliefValve, RobotMap.compressorRelay);
    }
    
    public void initDefaultCommand(){
        setDefaultCommand(new StartCompressor());
    }    
        
    public void startCompressor(){
        compressor.start();
    }   
     
    public void stopCompresor(){
        compressor.stop();
    }
    
    public void updateStatus(){
        
    }
    
}
/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */


/**
 *
 * @author Team 1662
 */
    //private.Compressor (0,0) ;
    //private.boolean Compressor;
    //addd this into the problem
    

